#ifndef BUILDLIGHT_H
#define BUILDLIGHT_H

#include "utils.h"

#include <core/light.h>

#include <FnAttribute/FnAttribute.h>
#include <FnScenegraphIterator/FnScenegraphIterator.h>
#include <Render/RenderSettings.h>

#include <vector>


int getLights( FnKat::Render::RenderSettings &renderSettings,
               FnKat::FnScenegraphIterator rootIt,
               FnKat::GroupAttribute lightListAttr,
               vector<Light*> &lights);

Light * getLight(FnKat::Render::RenderSettings &renderSettings, FnKat::FnScenegraphIterator lightIt);

#endif // BUILDLIGHT_H
